﻿using System;
using System.Collections.Generic;
using System.Linq;
using SqlSugar;
namespace BJYJ_Admin.Core.Entity.SYS_ENTITY
{
    /// <summary>
    /// 部门表
    ///</summary>
    [SugarTable("SYS_DEPT")]
    public class SYS_DEPT
    {
        
     
        /// <summary>
        /// 备  注:主键
        /// 默认值:
        ///</summary>
        [SugarColumn(ColumnName="ID" ,IsPrimaryKey = true,IsIdentity = true) ]
        public int ID  { get; set;  } 
     
        /// <summary>
        /// 备  注:部门名称
        /// 默认值:
        ///</summary>
        [SugarColumn(ColumnName="NAME" ) ]
        public string NAME  { get; set;  } 
     
        /// <summary>
        /// 备  注:部门代码
        /// 默认值:
        ///</summary>
        [SugarColumn(ColumnName="CODE" ) ]
        public string CODE  { get; set;  } 
     
        /// <summary>
        /// 备  注:部门地址
        /// 默认值:
        ///</summary>
        [SugarColumn(ColumnName="ADDRESS" ) ]
        public string ADDRESS  { get; set;  } 
     
        /// <summary>
        /// 备  注:联系电话
        /// 默认值:
        ///</summary>
        [SugarColumn(ColumnName="PHONE" ) ]
        public string PHONE  { get; set;  } 
     
        /// <summary>
        /// 备  注:联系人
        /// 默认值:
        ///</summary>
        [SugarColumn(ColumnName="LXR" ) ]
        public string LXR  { get; set;  } 
     
        /// <summary>
        /// 备  注:状态0启用1禁用
        /// 默认值:
        ///</summary>
        [SugarColumn(ColumnName="STATUS" ) ]
        public int? STATUS  { get; set;  } 
     
        /// <summary>
        /// 备  注:父级ID
        /// 默认值:
        ///</summary>
        [SugarColumn(ColumnName="PID" ) ]
        public int? PID  { get; set;  } 
     
        /// <summary>
        /// 备  注:完整路径
        /// 默认值:
        ///</summary>
        [SugarColumn(ColumnName="PARENT_PATH" ) ]
        public string PARENT_PATH  { get; set;  } 
     
        /// <summary>
        /// 备  注:排序
        /// 默认值:
        ///</summary>
        [SugarColumn(ColumnName="ORDER_NUM" ) ]
        public int? ORDER_NUM  { get; set;  } 
     
        /// <summary>
        /// 备  注:深度
        /// 默认值:
        ///</summary>
        [SugarColumn(ColumnName="DEPTH" ) ]
        public int? DEPTH  { get; set;  } 
     
        /// <summary>
        /// 备  注:对应主区划表ID
        /// 默认值:
        ///</summary>
        [SugarColumn(ColumnName="AREAID" ) ]
        public int? AREAID  { get; set;  } 
     
        /// <summary>
        /// 备  注:对应主区划表代码
        /// 默认值:
        ///</summary>
        [SugarColumn(ColumnName="AREACODE" ) ]
        public string AREACODE  { get; set;  } 
     
        /// <summary>
        /// 备  注:对应子区划表ID串
        /// 默认值:
        ///</summary>
        [SugarColumn(ColumnName="AREAIDS" ) ]
        public string AREAIDS  { get; set;  } 
     
        /// <summary>
        /// 备  注:对应子区划表代码串
        /// 默认值:
        ///</summary>
        [SugarColumn(ColumnName="AREACODES" ) ]
        public string AREACODES  { get; set;  } 
     
        /// <summary>
        /// 备  注:备注
        /// 默认值:
        ///</summary>
        [SugarColumn(ColumnName="MEMO" ) ]
        public string MEMO  { get; set;  } 
     
        /// <summary>
        /// 备  注:创建人
        /// 默认值:
        ///</summary>
        [SugarColumn(ColumnName="CREATE_BY" ) ]
        public string CREATE_BY  { get; set;  } 
     
        /// <summary>
        /// 备  注:创建时间
        /// 默认值:
        ///</summary>
        [SugarColumn(ColumnName="CREATE_TIME" ) ]
        public DateTime? CREATE_TIME  { get; set;  } 
     
        /// <summary>
        /// 备  注:更新人
        /// 默认值:
        ///</summary>
        [SugarColumn(ColumnName="UPDATE_BY" ) ]
        public string UPDATE_BY  { get; set;  } 
     
        /// <summary>
        /// 备  注:更新时间
        /// 默认值:
        ///</summary>
        [SugarColumn(ColumnName="UPDATE_TIME" ) ]
        public DateTime? UPDATE_TIME  { get; set;  } 
    

    }
    
}